import request from '@/utils/request'

/**
 * 
 * @param {导航信息} data 
 * @returns 
 */

export function navigationApi(data) {
  return request({
    url: '/navigation',
    method: 'post',
    data
  })
}


/**
 * 
 * @param {获取app节点} data 
 * @returns 
 */

export function getProofAppList(data) {
  return request({
    url: '/getProofAppList',
    method: 'post',
    data
  })
}
// 全局搜索
export function getSearchTreeList(data) {
  return request({
    url: '/rebuildIndex',
    method: 'post',
    data
  })
}